package org.zsk.cfl.authagency;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zsk
 * 1/10/21 5:51 PM
 */
@ConfigurationProperties(
        prefix = "workflow.auth-agency.cycle"
)
@Component
public class AuthAgencyProperties {
    private boolean enabled = true;
    public AuthAgencyProperties() {
    }
    public boolean isEnabled() {
        return this.enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
